<template>
    <div class="order">
        <div v-for="value in 4" :key="value">
            <van-card
                    num="2"
                    price="2.00"
                    desc="描述信息"
                    title="商品标题"
                    thumb="https://img.yzcdn.cn/vant/ipad.jpeg"
            >
                <template #tags>
                    <van-tag plain type="danger">标签</van-tag>
                    <van-tag plain type="danger">标签</van-tag>
                </template>
                <template #footer>
                    <van-button size="mini">+</van-button>
                    <van-button size="mini">-</van-button>
                </template>
            </van-card>
        </div>
        <van-submit-bar :price="3050" button-text="提交订单" @submit="onSubmit" class="close-account">
            <van-checkbox v-model="checked">全选</van-checkbox>
            <template #tip>
                你的收货地址不支持同城送, <span @click="onClickEditAddress">修改地址</span>
            </template>
        </van-submit-bar>
    </div>
</template>

<script>
    export default {
        props: {
        },
    };
</script>
<style>
    .close-account {
        position: fixed;
        top: 85vh;
    }
</style>
